package com.lottery.game.core.modules.entity.game;

import com.lottery.game.common.BaseObject;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;


@NoArgsConstructor
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Builder
@Getter
@Setter
@Table(name = "game_type_playing_relation")
public class GameTypePlayingRelation extends BaseObject {
    /**
     * 博彩编号
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC")
    private String id;

    /**
     * 游戏类型编号
     */
    @Column(name = "game_type_id")
    private String gameTypeId;

    /**
     * 游戏类型名称
     */
    @Column(name = "game_type_name")
    private String gameTypeName;

    /**
     * 玩法名称
     */
    @Column(name = "game_type_playing_name")
    private String gameTypePlayingName;

    /**
     * 玩法编码
     */
    @Column(name = "game_type_playing_code")
    private String gameTypePlayingCode;

    /**
     * 玩法编号
     */
    @Column(name = "game_type_playing_ticket")
    private Integer gameTypePlayingTicket;

    /**
     * 图片地址
     */
    @Column(name = "game_type_playing_icon")
    private String gameTypePlayingIcon;

    /**
     * 是否开放1 开放 0 不开放
     */
    @Column(name = "open")
    private Boolean open;

    /**
     * 排序
     */
    @Column(name = "sort")
    private Integer sort;

    /**
     * 备注
     */
    @Column(name = "remarks")
    private String remarks;

    /**
     * 开奖结果接口地址
     */
    @Column(name = "game_lottery_api_url")
    private String gameLotteryApiUrl;

    /**
     * 维护开始时间 HH:mm
     */
    @Column(name = "maintenance_start_time")
    private String maintenanceStartTime;

    /**
     * 维护结束时间 HH:mm
     */
    @Column(name = "maintenance_end_time")
    private String maintenanceEndTime;

    /**
     * 创建者
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 更新者
     */
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 系统创建时间
     */
    @Column(name = "create_date")
    private Date createDate;

    /**
     * 系统更新时间
     */
    @Column(name = "update_date")
    private Date updateDate;

    /**
     * 是否删除 1 删除 0 未删除
     */
    @Column(name = "del_flag")
    private String delFlag;
}
